package com.zsc.boot.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zsc.boot.bean.Team;
import com.zsc.boot.bean.User;
import com.zsc.boot.bean.dto.TeamQuery;

import java.util.List;

/**
 *
 */
public interface TeamService extends IService<Team> {

    /**
     * 创建队伍
     * @param team：所要创建的队列
     * @param loginUser：当前的登录用户
     * @return
     */
    public long createTeam(Team team, User loginUser);

    public List<Team> listTeam(TeamQuery teamQuery);

}
